package cn.edu.shiep.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.edu.shiep.dao.UserDao;
import cn.edu.shiep.model.User;

@Service
public class UserService {
	@Autowired
	private UserDao userDao;

	public List<User> getAll() {
		return userDao.getAll();
	}

	public void save(User user) {
		userDao.save(user);
	}

}
